# 1.创建蓝图对象
from flask.blueprints import Blueprint
user_bp = Blueprint(name='user',import_name=__name__,url_prefix='/app/v1_0')
# 封装类视图  实例化api对象
from flask_restful import Api
# 使用我们自定义的api基类
from common.ttapi.api import BaseApi
user_api = BaseApi(user_bp)
# 2.告知蓝图对象执行的任务
from . import view
# 3.app注册蓝图

# 添加路由
from . import urls

